﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using MS_UI;


namespace loader_system
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            // 注册控件示例，如果注册失败，你的控件仍然只能使用8个小时
            if (HslControls.Authorization.SetAuthorizationCode("08854aa9-6ced-476e-9b65-020fe57f054f"))
            {
                //注册成功 Registration Successful;
                 //  MessageBox.Show("Registration Successful", "Check", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                //注册失败 Registration Failed;
                MessageBox.Show("Registration Failed", "Check", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }





            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            FrmMain objMain = new FrmMain();
    //        CommMethods.objFrmMain = objMain;
            Application.Run(objMain);
        }
    }
}
